<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>两栏布局-float</title>
	<style>
		.outer {
			height: 100px;
		}
		.left {
			height: 100px;
			background-color: pink;
			width: 200px;
			float: left;
		}
		.right {
			height: 100px;
			background-color: gold;
			width: auto;
			margin-left: 200px;
		}
	</style>
</head>
<body>
	<div class="outer">
		<div class="left">左侧固定</div>
		<div class="right">右侧自适应</div>
	</div>	
</body>
</html>